<template>
  <view class="main">
    <template v-if="orderList?.length > 0">
      <view class="con">
        <HengGoodsItem isCollect v-for="(item, index) in orderList" :key="index" :info="item"></HengGoodsItem>
        <u-loadmore height="30" :status="pageStatus" />
      </view>
    </template>
    <view v-else style="width: 100%; display: flex; justify-content: center">
      <u-empty mode="list"></u-empty>
    </view>
  </view>
</template>

<script setup lang="ts">
import { ref } from "vue";
import { goPage } from "../../utils/commonFn";
import HengGoodsItem from "../../components/hengGoodsItem.vue";
const pageStatus = ref(false);
const orderList = ref([{}]);
</script>

<style lang="less" scoped>
.con {
  padding: 32rpx;
  background: #fff;
  border-radius: 20rpx;
}
</style>
